projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2079e40
)
Remove no-longer-needed fflushes of stderr
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 20 Jun 2019 07:35:41 +0000
(
00:35
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 20 Jun 2019 07:41:13 +0000
(
00:41
-0700)
* src/gmalloc.c (mabort) [GC_MCHECK && !__GNU_LIBRARY__]:
* src/term.c (vfatal): Remove fflush (stderr) when it is now a
no-op because newline automatically flushes stderr.
src/gmalloc.c
patch
|
blob
|
history
src/term.c
patch
|
blob
|
history
diff --git
a/src/gmalloc.c
b/src/gmalloc.c
index 779cdb36d67e2727bc8f93d90c4f6e07f976f1e1..bac3ffb7e5e607d4ddc9e43b157b2b5088fde32d 100644
(file)
--- a/
src/gmalloc.c
+++ b/
src/gmalloc.c
@@
-2013,7
+2013,6
@@
mabort (enum mcheck_status status)
__libc_fatal (msg);
#else
fprintf (stderr, "mcheck: %s\n", msg);
- fflush (stderr);
emacs_abort ();
#endif
}
diff --git
a/src/term.c
b/src/term.c
index 6a8fc2ee932b67496b05c602b3ef9bda9566281c..ce06e1cd4e56c33d6beeb0e1c8e54407c9f40f87 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-4402,7
+4402,6
@@
vfatal (const char *str, va_list ap)
vfprintf (stderr, str, ap);
if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n'))
fprintf (stderr, "\n");
- fflush (stderr);
exit (1);
}